home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
bbs
/
fcfgw40s.zip
/
PROPFI~1.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-17
|
1KB
|
57 lines
// PropFileFlag.cpp : implementation file
//
#include "stdafx.h"
#include "FileCFG.h"
#include "PropFileFlag.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPropFileFlag property page
IMPLEMENT_DYNCREATE(CPropFileFlag, CPropertyPage)
CPropFileFlag::CPropFileFlag() : CPropertyPage(CPropFileFlag::IDD)
{
//{{AFX_DATA_INIT(CPropFileFlag)
m_CDROM = FALSE;
m_Free = FALSE;
m_Tops = FALSE;
m_MaxFiles = 0;
m_MaxBytes = 0;
//}}AFX_DATA_INIT
}
CPropFileFlag::~CPropFileFlag()
{
}
void CPropFileFlag::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropFileFlag)
DDX_Check(pDX, IDC_CHECK_CDROM, m_CDROM);
DDX_Check(pDX, IDC_CHECK_FREE, m_Free);
DDX_Check(pDX, IDC_CHECK_TOPS, m_Tops);
DDX_Text(pDX, IDC_EDIT_MAX_FILES, m_MaxFiles);
DDV_MinMaxInt(pDX, m_MaxFiles, 0, 65535);
DDX_Text(pDX, IDC_EDIT_MAX_KBYTES, m_MaxBytes);
DDV_MinMaxInt(pDX, m_MaxBytes, 0, 65535);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropFileFlag, CPropertyPage)
//{{AFX_MSG_MAP(CPropFileFlag)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropFileFlag message handlers